Skip to content

[spark] Avoid scanning partition entries without partition_idle_time - #8932

Open
lilei1128 wants to merge 3 commits into
apache:masterfrom
lilei1128:optimize-manifest-reading
Open

[spark] Avoid scanning partition entries without partition_idle_time#8932
lilei1128 wants to merge 3 commits into
apache:masterfrom
lilei1128:optimize-manifest-reading

Conversation

@lilei1128

Copy link
Copy Markdown
Contributor

Purpose

Avoid an unnecessary manifest scan for partition entries when
partition_idle_time is not specified, reducing Spark driver memory usage
and compaction planning time.

Tests

  • Added a test to verify that partition entries are not scanned when
    partition_idle_time is null.

@JingsongLi JingsongLi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants